package com.orange.community.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author GaryGyp
 */
@Configuration
@EnableScheduling
// 该注解的作用就是能够让加了 @Async 注解的方法在多线程环境下，被异步调用
@EnableAsync
public class ThreadPoolConfig {

}
